package com.ctshk.rpc.custom.req.inquiry;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 询价单列表sql参数
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-02
 */
@Data
@ApiModel(value="InquiryListSqlReq", description="询价单列表sql参数")
public class InquiryListSqlReq implements Serializable {

    @ApiModelProperty(value = "询价单单号")
    private String inquiryNumber;
    @ApiModelProperty(value = "询价单标题")
    private String inquiryTitle;
    @ApiModelProperty(value = "大客户id")
    private Long bigClientId;
    @ApiModelProperty(value = "销售id")
    private Long salespersonId;
    @ApiModelProperty(value = "OPid")
    private Long opId;
    @ApiModelProperty(value = "起始日期")
    private LocalDate beginDate;
    @ApiModelProperty(value = "结束日期")
    private LocalDate endDate;
    @ApiModelProperty(value = "询价单状态(0 全部,1 未询价,2 未处理,3 已超时,4 已同意,5 已拒绝,6 继续询价,7 已报价,8 待开团,9 已开团)")
    private Integer quotationStatus;
    @ApiModelProperty(value = "出发地")
    private String departurePlace;
    @ApiModelProperty(value = "目的地")
    private String destination;
    @ApiModelProperty(value = "天数查询类型(0 不查询,1：1天,2：多个,3：10天以上)")
    private Integer type;
    @ApiModelProperty(value = "天数数组")
    private String travelDays;
    @ApiModelProperty(value = "询价单状态")
    private Integer inquiryStatus;
    @ApiModelProperty(value = "查询类型(1 产品中心，2 定制中心)")
    private Integer queryType;
    @ApiModelProperty(value = "是否管理员")
    private boolean permision;
    @ApiModelProperty(value = "允许用户ID列表")
    private List<Long> permisionList;

    @ApiModelProperty(value = "出境类型(\t1 境内 2 境外)")
    private Integer departType;
}
